package com.gxar.quick.ar.server.base.model.exchange.vo.response;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.gxar.quick.ar.server.base.common.utils.BigDecimalSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/2/29 17:08
 */
@Data
@ApiModel("兑换品赠送统计响应")
public class AdminExchangeItemStatisticsResponse {

    @ApiModelProperty("赠送收款总额（元）")
    @JSONField(name = "total_amount_collected")
    @JsonProperty("total_amount_collected")
    @JsonSerialize(using = BigDecimalSerialize.class)
    private BigDecimal totalAmountCollected;

    @ApiModelProperty("转赠/赠送兑换品总数（个）")
    @JSONField(name = "transfer_num")
    @JsonProperty("transfer_num")
    private Integer transferNum;

    @ApiModelProperty("赠送次数（次）")
    @JSONField(name = "send_frequency")
    @JsonProperty("send_frequency")
    private Integer sendFrequency;

    @ApiModelProperty("转赠次数（次）")
    @JSONField(name = "transfer_frequency")
    @JsonProperty("transfer_frequency")
    private Integer transferFrequency;
}
